package com.yang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class ForntController {

    @RequestMapping(value = {"/","index.html"})
    public String login(HttpServletRequest request){
        return "index";
    }

    @RequestMapping(value = "wxError")
    public String wxError(HttpServletRequest request){
        return "wxError";
    }
}
